if(SCIM_FOUND)
    set(SCIM_ICON_DIR "${PC_SCIM_PREFIX}/share/scim/icons")
    configure_file(config-scim.h.cmake config-scim.h)
    set(kimpanel_scim_panel_SRCS main.cpp)
    add_executable(kimpanel-scim-panel ${kimpanel_scim_panel_SRCS})
    set_target_properties(kimpanel-scim-panel PROPERTIES AUTOMOC TRUE)
    target_link_libraries(kimpanel-scim-panel Qt::Core Qt::DBus PkgConfig::SCIM)
    install(TARGETS kimpanel-scim-panel DESTINATION ${KDE_INSTALL_LIBEXECDIR})
endif(SCIM_FOUND)
